package com.jindi.jacococli.biz.constant;

public class Constant {

    public static final int MAP_INITIAL_CAPACITY = 30;

    public static final int INT1 = 1;

    public static final int INT2 = 2;

    public static final int INT4 = 4;

    public static final int JACOCO_PORT = 6300;

    public static final String GIT_CLONE_BRANCH = "git clone -b %s %s";

    public static final String GIT_PULL_BRANCH = "git pull -b %s %s";

    public static final String PROTOCOL_HTTP = "http://";

    public static final String PROTOCOL_HTTPS = "https://";

    public static final String OAUTH2 = "oauth2:";

    public static final String BACKSLASH = "/";

    public static final String COMMA = ",";

    public static final String DOT = ".";

    public static final String MASTER_BRANCH = "master";

    public static final String MVN_COMPILE = "mvn --file %s/pom.xml compile";

    public static final String JACOCO_EXEC = ".exec";

    public static final String TARGET_CLASS = "/target/classes";

    public static final String SRC_PATH = "/src/main/java";

    public static final String API_SUFFIX = "-api";

    public static final String PROVIDER_SUFFIX = "-provider";

    public static final String SDK_SUFFIX = "-sdk";

    public static final String BIZ_SUFFIX = "-biz";

    public static final String SERVICE_LIST = "service.list";

    public static final String EMAIL_SUFFIX = "@tianyancha.com";

    public static final String ATTACH = "attach";

    public static final String TAR_SUFFIX = ".tar";

    public static final String EXEC = "exec";

    public static final String XLSX = ".xlsx";

    public static final String TAR = "tar -cvf %s.tar %s";

    public static final String DESCRIBE_CONTENT = "当前任务标识:%s,任务状态:%s,总数:%s, 已完成:%s";

    public static final String EMAIL_SUBJECT = "Jacoco Coverage";

    public static final String EMAIL_CONTENT = "Jacoco Coverage 覆盖率分析: 请到线上集群【tyc-prod-jichugongju】deployment【"
            + "tyc-jacococli-cliserver-custom-prod-f100】路径【%s】下载; 下载命令:【scp %s username@ip:/path】;时间【%s】";

    public static final String NICK_NAME = "架构组";


    public static final String SONAR_COMMAND = "mvn --batch-mode compile -U sonar:sonar "
            + "-Dsonar.projectKey=%s -Dsonar.host.url=http://sonar-pro.jindidata.com "
            + "-Dsonar.login=77dba0e764c4b79b31c5cf5969cd71e5de502939 -Dsonar.branch.name=%s "
            + "-Dsonar.test.exclusions='**/src/test/java/**' -Dsonar.exclusions='**/biz/mybatisplus/**,**/Constant.java,"
            + "**/DateUtils.java,**/ValidatorUtils.java,**/RegexUtils.java,**/JSONUtils.java,**/RedisCache.java,"
            + "**/RetryConfig.java,**/TransactionalConfig.java,**/biz/business/domain/**,**/biz/business/mapper/**,"
            + "**/GlobalExceptionHandler.java,**/RemoteUserServiceImpl.java,**/package-info.java,**/api/aop/Result.java,"
            + "**/CatLogMetricForCountAspect.java,**/RemoteCallRpcServiceFallback.java,**/RemoteCallRpcServiceWrapper.java'";

}